Quaqua 3.9.5 2007-10-21

ch.randelshofer.quaqua.panther
Class Quaqua14PantherLookAndFeel

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by javax.swing.plaf.basic.BasicLookAndFeel
          extended by ch.randelshofer.quaqua.LookAndFeelProxy
              extended by ch.randelshofer.quaqua.BasicQuaquaLookAndFeel
                  extended by ch.randelshofer.quaqua.panther.Quaqua14PantherLookAndFeel
All Implemented Interfaces:
java.io.Serializable

public class Quaqua14PantherLookAndFeel
extends BasicQuaquaLookAndFeel

The Quaqua14PantherLookAndFeel provides bug fixes and enhancments for Apple's Aqua Look and Feel for Java 1.4 on Mac OS X 10.3 (Panther).

The Quaqua Look and Feel can not be used on other platforms than Mac OS X.

Usage

Please use the QuaquaManager to activate this look and feel in your application. Or use the generic QuaquaLookAndFeel. Both are designed to autodetect the appropriate Quaqua Look and Feel implementation.

Version:
3.6 2006-05-13 Improved menu fidelity when screen menu bar is on.
3.5.1 2006-04-08 Added missing properties for TabbedPane.
3.5 2006-02-05 Quaqua14PantherTabbedPaneUI added.
3.4 2005-11-27 QuaquaSplitPaneUI added.
3.3 2005-09-25 QuaquaScrollBarUI and QuaquaOptionPaneUI added. Invocation of deriveColors() removed. GroupBox added.
3.2 2005-08-25 QuaquaBrowserUI added.
3.1 2005-07-05 SpinnerUI added.
3.0.2 2005-05-29 Fixes for Quaqua 3.0 beta 4.
3.0.1 2005-04-17 Minor fixes.
3.0 2005-03-19 Reworked.
1.4 2005-03-05 Added QuaquaButtonUI. Fixed combo box icon. Replaced property "Table.alternateBackground" by "Table.alternateBackground.0" and "Table.alternateBackground.1".
1.3.1 2005-03-02 Added missing key binding for TAB key in multiline text fields. Changed borders of PasswordTextField and FormattedTextField.
1.3 2004-12-28 Fixed vertical alignment of menu items. Changed icon of radio button menu items to be round instead of diamond shaped.
1.2 2004-12-03 Set input maps for text fields.
1.1.2 2004-09-11 Catch AccessControlException when accessing System properties. Replaced all method invocations to method QuaquaManager.getProperty to QuaquaManager.getProperty.
1.1.1 2004-08-29 Added ancestorInputMap to ComboBoxUI.
1.1 2004-07-31 Selection colors of lists and tables are now not overriden anymore, to exactly match the Panther color scheme. This had to be done, because many applications require that the foreground color of a selection is darker than the background color (in Panther, the foreground is white).
1.0 2004-06-21 Created.
Author:
Werner Randelshofer
See Also:
QuaquaManager, QuaquaLookAndFeel, Serialized Form

Field Summary
 
Fields inherited from class ch.randelshofer.quaqua.BasicQuaquaLookAndFeel
commonDir, jaguarDir, pantherDir, tigerDir
 
Fields inherited from class ch.randelshofer.quaqua.LookAndFeelProxy
target
 
Constructor Summary
Quaqua14PantherLookAndFeel()
          Creates a new instance.
 
Method Summary
 java.lang.String getDescription()
          Return a one line description of this look and feel implementation, e.g.
 java.lang.String getName()
          Return a short string that identifies this look and feel, e.g.
protected  void initClassDefaults(javax.swing.UIDefaults table)
          Initialize the uiClassID to BasicComponentUI mapping.
protected  void initDesignDefaults(javax.swing.UIDefaults table)
          Init design specific look and feel defaults.
protected  void installKeyboardFocusManager()
           
 
Methods inherited from class ch.randelshofer.quaqua.BasicQuaquaLookAndFeel
getDefaults, getID, getSupportsWindowDecorations, getSystemFontName, initColorDefaults, initComponentDefaults, initFontDefaults, initGeneralDefaults, initInputMapDefaults, initResourceBundle, initSystemColorDefaults, isJaguarTabbedPane, makeBufferedImage, makeButtonStateIcon, makeButtonStateIcon, makeButtonStateIcon, makeFrameButtonStateIcon, makeIcon, makeIcon, makeIcon, makeIcons, makeImage, makeImageBevelBackgroundBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorder, makeImageBevelBorders, makeOverlaidButtonStateIcon, makeSliderThumbIcon, makeTextureColor
 
Methods inherited from class ch.randelshofer.quaqua.LookAndFeelProxy
initialize, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setTarget, toString, uninitialize
 
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, loadSystemColors, playSound
 
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, uninstallBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Quaqua14PantherLookAndFeel

public Quaqua14PantherLookAndFeel()
Creates a new instance.

Method Detail

getDescription

public java.lang.String getDescription()
Return a one line description of this look and feel implementation, e.g. "The CDE/Motif Look and Feel". This string is intended for the user, e.g. in the title of a window or in a ToolTip message.

Overrides:
getDescription in class LookAndFeelProxy

getName

public java.lang.String getName()
Return a short string that identifies this look and feel, e.g. "CDE/Motif". This string should be appropriate for a menu item. Distinct look and feels should have different names, e.g. a subclass of MotifLookAndFeel that changes the way a few components are rendered should be called "CDE/Motif My Way"; something that would be useful to a user trying to select a L&F from a list of names.

Overrides:
getName in class LookAndFeelProxy

initClassDefaults

protected void initClassDefaults(javax.swing.UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping. The JComponent classes define their own uiClassID constants (see AbstractComponent.getUIClassID). This table must map those constants to a BasicComponentUI class of the appropriate type.

Overrides:
initClassDefaults in class javax.swing.plaf.basic.BasicLookAndFeel
See Also:
BasicQuaquaLookAndFeel.getDefaults()

initDesignDefaults

protected void initDesignDefaults(javax.swing.UIDefaults table)
Description copied from class: BasicQuaquaLookAndFeel
Init design specific look and feel defaults.

Overrides:
initDesignDefaults in class BasicQuaquaLookAndFeel

installKeyboardFocusManager

protected void installKeyboardFocusManager()
Overrides:
installKeyboardFocusManager in class BasicQuaquaLookAndFeel

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.